package com.hook3.pianke.domain;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 个人电台的详细bean
 * Created by HOME on 2015/12/10.
 */
public class PrivateRadioInfo implements Serializable {
    public PrivateRadioData data;
    public int result;

    //个人电台的所有信息
    public class PrivateRadioData implements Serializable{
        //个人电台列表信息
        public ArrayList<PrivateRadioEachContent> list;
        public PrivateCurrentRadioInfo radioInfo;
        public int total;
    }
    //每个播放内容
    public class PrivateRadioEachContent implements Serializable{
        public String coverimg;
        public boolean isnew;
        public String musicUrl;
        public String musicVisit;
        public PrivateRadioRadioPlayInfo playInfo;
        public String tingid;
        public String title;


        @Override
        public String toString() {
            return "PrivateRadioEachContent{" +
                    "coverimg='" + coverimg + '\'' +
                    ", isnew=" + isnew +
                    ", musicUrl='" + musicUrl + '\'' +
                    ", musicVisit='" + musicVisit + '\'' +
                    ", playInfo=" + playInfo +
                    ", tingid='" + tingid + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }

    //播放当前电台当前听内容的所有信息
    public class PrivateRadioRadioPlayInfo implements Serializable{
        public AuthorInfo authorinfo;
        public String imgUrl;
        public String musicUrl;
        public CurrentShareInfo shareinfo;
        public String sharepic;
        public String sharetext;
        public String shareurl;
        public String ting_contentid;
        public String tingid;
        public String title;
        public CurrentPlayUserInfo userinfo;
        public String webview_url;
    }

    //作者信息
    public class AuthorInfo implements Serializable{
        String icon;
        String uid;
        String uname;
    }

    //目前分享内容
    public class CurrentShareInfo implements Serializable{
        public String pic;
        public String text;
        public String title;
        public String url;
    }

    //目前分享者信息
    public class CurrentPlayUserInfo implements Serializable{
        public String icon;
        public String uid;
        public String uname;
    }

    //目前radio的信息
    public class PrivateCurrentRadioInfo implements Serializable{
        public String coverimg;
        public String desc;
        public String musicvisitnum;
        public String radioid;
        public String title;
        public CurrentPlayUserInfo userinfo;
        }
}
